<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
<TITLE> New Document </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="{$__EXT__}resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="{$__EXT__}resources/css/extensible-all.css" /> 
<link rel="stylesheet" type="text/css" href="{$__EXT__}resources/css/ext-extend.css" />
<script type="text/javascript" src="{$__EXT__}adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" src="{$__EXT__}ext-all-debug.js"></script>
<script type="text/javascript" src="{$__EXT__}extensible-all-debug.js"></script> 
<script type="text/javascript">
Ext.user = window.parent.Ext.user;
Ext.sysconfig = window.parent.Ext.sysconfig;
</script>
<script type="text/javascript" src="{$__JSLIB__}method.js"></script>
<script type="text/javascript" src="{$__JSLIB__}debug.js"></script>
<script type="text/javascript" src="{$__JSLIB__}node.js"></script>
<script type="text/javascript">

//Ext.user.data = {};
//Ext.user.data.groupid =  <?php echo geturl('http://'.$_SERVER['HTTP_HOST'].'/extoa/webapp/index.php/Node/data/',array('do'=>'groupid'));?>;
/*!
 * Ext JS Library 3.3.1
 * Copyright(c) 2006-2010 Sencha Inc.
 * licensing@sencha.com
 * http://www.sencha.com/license
 */


Ext.onReady(function() { 
//实例化
	Ext.QuickTips.init();
  var nodeliststore = new Ext.user.nodeliststore();
	var nodelist = new Ext.user.nodelist();
	Ext.user.method.groupidstore.on('load',function(){
		Ext.user.fbar = new Ext.XTemplate(Ext.user.tpl.nodetbar);
		Ext.user.fbar.compile();
		var list = [];
		for(var i =0; i<Ext.user.method.groupidstore.getCount();i++){
			list[i] = {};
			list[i].id = Ext.user.method.groupidstore.getAt(i).data.id;
			list[i].title = Ext.user.method.groupidstore.getAt(i).data.title;
		}
		Ext.user.fbar.overwrite(Ext.getCmp('nodelist').tbar,list);
		 nodelist.button();
	});
 
});
</script>
</HEAD>

 <BODY>
<div id="node_index" style="padding-top: 20px;"></div>
 </BODY>
</HTML>

